 <#include "/common/freemarker/macro_common.ftl">
 
       <table class="table table-bordered table-condensed table-hover table-striped  ">
		     <thead>
				 <tr>
				    <th width=25px>#</th>
					
					<th>用户名称</th>
					<th>用户账号</th>
					<th>性别</th>
					<th>手机号码</th>
					<th>email</th>
					<#--
					<th>创建时间</th>
					-->
					<th>操作</th>
				 </tr>
			 </thead>
			 <tbody>
			 <#list rhs["dataList"]  as x>
			   	 <tr>
					<td>${x_index+1}</td>		
					<td>${x.name?if_exists}</td>
					<th>${x.account?if_exists}</th>
					<th>${x.sex?if_exists}</th>
					<th>${x.phoneNumber?if_exists}</th>
					<th>${x.email?if_exists}</th>
					<#--
					<td>${x.createTime?string("yyyy-MM-dd HH:mm:ss")}</td>
					-->
					<td>
						 <#if SecurityUtils.havePermission("userAdmin_edit")>
						 <a style="padding-left:15px" href="<@context/>ea/user/edit.do?id=${x.id}" title="修改"><i class="fa fa-edit"></i>&nbsp;修改</a>
						 </#if>
						 <#if SecurityUtils.havePermission("userAdmin_delete")>
						 <a style="padding-left:15px" href="<@context/>ea/user/delete.do?id=${x.id}" title="删除"><i class="fa fa-remove"></i>&nbsp;删除</a> 
						  </#if>
						 <a style="padding-left:15px" href="<@context/>ea/user/view.do?id=${x.id}" title="查看"><i class="fa fa-file-text"></i>&nbsp;查看</a>
						 <#if SecurityUtils.havePermission("userAdmin_passwd")>
 						 <a style="padding-left:15px" href="javascript:modifyPwd('<@context/>ea/user/passwd.do?uuid=${x.uuid?if_exists}');" title="修改密码"><i class="fa fa-key"></i>&nbsp;修改密码</a>
 						 </#if>
 						 
					</td>
				 </tr>
			 </#list> 
			 </tbody>
		</table>       
		<#include "/common/freemarker/macro_pagination_ajax.ftl">
		<script>
			function modifyPwd(url){
				art.dialog.open(url,{id:"pwdDialog",title:"密码修改",width:"400px",height:"400px"});
			}
		</script>
		 